package cn.hnevc.wupeidong;

public class Market {


	private String marketName;
	private prouduct[] productArray;
	
	
	public String getMarketName(){
		return marketName;
		
	}
public void setMarketName(String marketName){
	this.marketName = marketName;
}	

public product[] getprodutArray;

}

public void setproductArray(Prouduct[] ProuductArray) {
	this.productArray = productArray;
	
  }
  product se11(String name) {
	  for (int i = 0; i < productAeeay.lengeth; i++) {
		  if(ProductArray[i].getProName() == name){
			  return productArray[i];
		  }
	  }
      return nu11;

     }
  
  
  }  
  
    
